Add a scale to the popover menu example
authorMatthias Clasen <mclasen@redhat.com>
Sun, 26 Oct 2014 23:11:33 +0000 (19:11 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 29 Oct 2014 10:49:59 +0000 (06:49 -0400)
Demonsttrate that this is flexible enough for the intended uses.

tests/popover2.ui

index 10a2241aba89442cb499939581e2a3fa81f6e192..25bef9c4877fe1ec89f9f4031d0f321cf8f3a24f 100644 (file)
             <property name="text">Item 7</property>
           </object>
         </child>
+        <child>
+          <object class="GtkScale">
+            <property name="visible">True</property>
+            <property name="draw-value">False</property>
+            <property name="adjustment">adjustment</property>
+          </object>
+        </child>
         <child>
           <object class="GtkModelButton">
             <property name="visible">True</property>
   <object class="GThemedIcon" id="icon-underline">
     <property name="name">format-text-underline-symbolic</property>
   </object>
+  <object class="GtkAdjustment" id="adjustment">
+    <property name="lower">0</property>
+    <property name="upper">100</property>
+    <property name="value">50</property>
+  </object>
 </interface>